package com.epower.dao.epowerkv;

import com.epower.dataobject.EpowerKvDO;
import java.util.List;
/***
 * DAO接口层
 * @author QuickDev
 *
 */
public interface EpowerKvDAO {
	//查询操作
	public EpowerKvDO getEpowerKvByOption(EpowerKvDO epowerKv);
	public List<EpowerKvDO> getEpowerKvListByOption(EpowerKvDO epowerKv);
	public EpowerKvDO getEpowerKvByKeyname(String keyname);
	//删除操作
	public boolean deleteEpowerKvByKeyname(String keyname);
	public Integer getEpowerKvCountByOption(EpowerKvDO epowerKv);
	//更新操作
	public boolean  updateEpowerKvByOption(EpowerKvDO epowerKv);
	//添加操作
	public String addEpowerKv(EpowerKvDO epowerKv);
}